package com.view_object;

import com.data_object.TrackDO;
import lombok.Data;

/**这类属性有哪些，叫什么名字，只和最终JSON长什么样有关
 * @author yuisama
 * @date 2023/03/08 15:13
 **/
@Data
public class ListTrackView {
    public Integer tid;
    public String title;
    public Integer refCount;
    //记录被应用的次数


    public ListTrackView(TrackDO trackDO,int refCount) {
        this.tid = trackDO.tid;
        this.title = trackDO.title;
        this.refCount = refCount;
    }

}

